package com.zzw.hotspot;

public class Test2 {

	static class Stack{
		private int stackLength = 1;
		
		public void leak(){
			stackLength++;
			leak();
		}
	}
	
	public static void main(String[] args) {
		Stack stack = new Stack();
		stack.leak();
		System.out.println(stack.stackLength);
	}
}
